#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    double n = 0;
    double m = 0;
    char k = 0;
    scanf("%lf %c %lf", &n, &k, &m);
    if (k == '+' || k == '-' || k == '*' || k == '/')
    {
        if (k == '/' && m == 0)
        {
            printf("Wrong!Division by zero!\n");
        }
        else
        {
            if (k == '+')
            {
                printf("%.4f+%.4f=%.4f\n", n, m, n + m);
            }
            else if (k == '-')
            {
                printf("%.4f-%.4f=%.4f\n", n, m, n - m);
            }
            else if (k == '*')
            {
                printf("%.4f*%.4f=%.4f\n", n, m, n * m);
            }
            else
            {
                printf("%.4f/%.4f=%.4f\n", n, m, n / m);
            }
        }
    }
    else
    {
        printf("Invalid operation!\n");
    }
    return 0;
}